package com.boot.config.param

/**
 * @author kawins
 * createTime 2018-12-07 10:36
 */
abstract class DataSourceParam {

    var druidInitialSize: Int = 20
    var druidMaxActive: Int = 300
    var druidMinIdle: Int = 1
    var druidMaxWait: Long = 10000
    var druidTimeBetweenEvictionRunsMillis: Long = 10000
    var druidMinEvictableIdleTimeMillis: Long = 50000
    var druidTestWhileIdle: Boolean = true
    var druidTestOnReturn: Boolean = false
    var druidTestOnBorrow: Boolean = false
    var druidPoolPreparedStatements: Boolean = true
    var druidMaxPoolPreparedStatementPerConnectionSize: Int = 20

}
